import UserQuery from '../components/user/UserQuery.vue'
import UserLevel from '../components/user/UserLevel.vue'
import UserRights from '../components/user/UserRight/UserRights.vue'
import UserRightsNew from '../components/user/UserRight/UserRightsNew.vue'
import UserRightsEdit from '../components/user/UserRight/UserRightsEdit.vue'
import StoreRules from '../components/user/StoreRules.vue'
import Detail from '../components/user/Detail.vue'
import Rule from '../components/user/Rule.vue'

const user = [
  {
    path: 'userQuery',
    component: UserQuery,
    meta: { title: '会员查询' }
  },
  {
    path: 'detail',
    component: Detail,
    meta: { title: '会员详情' }
  },
  {
    path: 'rule',
    component: Rule,
    meta: { title: '积分规则' }
  },
  {
    path: 'userLevel',
    component: UserLevel,
    meta: { title: '会员等级' }
  },
  {
    path: 'userRights',
    component: UserRights,
    meta: { title: '会员权益' }
  },
  {
    path: 'userRightsnew',
    component: UserRightsNew,
    meta: { title: '会员权益' }
  },
  {
    path: 'userRightsedit',
    component: UserRightsEdit,
    meta: { title: '会员权益' }
  },
  {
    path: 'storeRules',
    component: StoreRules,
    meta: { title: '储存规则' }
  },
  {
    path: 'clubCard',
    component: () => import('../components/user/ClubCard.vue'),
    meta: { title: '付费会员' }
  },
  {
    path: 'card',
    component: () => import('../components/user/userLeveL1/Card.vue'),
    meta: { title: '付费会员卡' }
  },
  {
    path: 'level-1',
    component: () => import('../components/user/userLeveL1/level-1.vue'),
    meta: { title: '配置会员等级' }
  },
  {
    path: 'level-2',
    component: () => import('../components/user/userLeveL1/level-2.vue'),
    meta: { title: '会员等级' }
  },
  {
    path: 'GrowthValueRules',
    component: () => import('../components/user/GrowthValueRules.vue'),
    meta: { title: '成长值规则' }
  },
  //会员标签
  {
    path: 'userLabels',
    component: () => import('../components/user/UserLabels'),
    meta: { title: '会员标签' }
  },
  //新建会员标签
  {
    path: 'addUserLabels',
    component: () => import('../components/user/userLabels/AddUserLabels'),
    meta: { title: '会员标签' }
  }
]

export default user